<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<style type="text/css">
		.main-div{text-align: center; padding-top: 25px;line-height: 31px;}
	</style>
  </head>
		<script language="javascript" type="text/javascript">
			var i = 2;
			var intervalid;
			intervalid = setInterval("fun()", 1000);
			function fun() {
				if (i == 0) {
					window.location.href = "<%= this.getServletContext().getContextPath() %>/showMan/showManController.do?method=toShowPicPage";
					clearInterval(intervalid);
				}
				document.getElementById("mes").innerHTML = i;
				i--;
			}
	</script> 
  <body>
  <div class="main-div">
	    登录成功!欢迎使用ak系统 <br>
    	倒数<span id='mes'>3</span>秒钟跳转 <a href="<%= this.getServletContext().getContextPath() %>/showMan/showManController.do?method=toShowPicPage" >立即跳转</a>
  </div>
  </body>
</html>
